home *** CD-ROM | disk | FTP | other *** search
- Shader()
- {// >=gf3
- Shaderquality(3)
- sortweight("translucent9")
- NoLightmaps()
- Cull("none")
-
- Pass()
- {
-
- Pixelshader("Rays.psh")
- tmu()
- {
- TexGen("world_position")
- TexMtxDirPosScale(0.866025, 0.5, 0, 0, 0, 0, 0.0001, 0.0001, 0.0001)
- TexMod("translate", "lin", 0, 0.01, 0, "lin", 0, 0.01, 0)
- Texture()
- {
- Image("Noise.dds")
- }
- }
- tmu()
- {
- Texture()
- {
- Image("RayMask.dds")
- quality("high")
- addressfunc("wrap", "clamp", "clamp")
- LodBias( 0 )
- }
- }
-
- !include("__Clouds.mtt")
-
- BlendFunc("one", "one")
- BlendFuncFade("one", "one")
- colorgen("tfactor", "none", 0,0,0, "user", 0,0,0)
- DepthFunc("lequal", 0)
- BlackFog()
- }
- }
-
- Shader()
- {// >=gf3
- Shaderquality(1)
- sortweight("translucent9")
- NoLightmaps()
- Cull("none")
-
- Pass()
- {
-
- Pixelshader("RaysVeryLow.psh")
- tmu()
- {
- TexGen("world_position")
- TexMtxDirPosScale(0.866025, 0.5, 0, 0, 0, 0, 0.0001, 0.0001, 0.0001)
- TexMod("translate", "lin", 0, 0.01, 0, "lin", 0, 0.01, 0)
- Texture()
- {
- Image("Noise.dds")
- }
- }
- tmu()
- {
- Texture()
- {
- Image("RayMask.dds")
- quality("high")
- addressfunc("wrap", "clamp", "clamp")
- LodBias( 0 )
- }
- }
-
- BlendFunc("one", "one")
- BlendFuncFade("one", "one")
- colorgen("tfactor", "none", 0,0,0, "user", 0,0,0)
- DepthFunc("lequal", 0)
- BlackFog()
- }
- }
-
- Shader()
- {
-
- sortweight("translucent9")
- NoLightmaps()
- Cull("none")
-
- Pass()
- {
-
- tmu()
- {
- TexGen("world_position")
- TexMtxDirPosScale(0.866025, 0.5, 0, 0, 0, 0, 0.0001, 0.0001, 0.0001)
- TexMod("translate", "lin", 0, 0.01, 0, "lin", 0, 0.01, 0)
- Texture()
- {
- Image("Noise.dds")
- }
- ColorOp("mul", "texture", "tfactor", "current")
- }
- tmu()
- {
- Texture()
- {
- Image("RayMask.dds")
- quality("high")
- addressfunc("wrap", "clamp", "clamp")
- LodBias( 0 )
- }
- }
-
- Tfactor(%daycolor_r, %daycolor_g, %daycolor_b, %ambient_r)
- BlendFunc("one", "one")
- BlendFuncFade("one", "one")
- colorgen("tfactor", "none", 0,0,0, "user", 0,0,0)
- DepthFunc("lequal", 0)
- BlackFog()
- }
- }
-
-
-
-
-
-
-
-
-